'use strict';

$('[value=查找]').click(btnFind);
function btnFind(){
    console.log('我是查找');
}
$('[value=增加]').click(btnAdd);
function btnAdd(){
    console.log('我是增加');
}
$('[value=编辑]').click(btnEdit);
function btnEdit(){
    console.log('我是编辑');
}
$('[value=删除]').click(btnDel);
function btnDel(e){
    // console.log('我是删除');
   
    let res=confirm('你确定删除吗？');
    if(res){
        let currentTarget = e.currentTarget;
        let tr = $(currentTarget).parent().parent();
        tr.remove();
    }
}